{% form_theme form 'UserBundle:Form:fields.html.twig' %}

{% block javascripts %}
    {{ form_javascript(form) }}
{% endblock %}



<form id="form-mi-ubicacion" novalidate="" class="custom formulario" action="{{ url('user_edit_perfil') }}" method="post" {{ form_enctype(form) }}>
    {% for flashMessage in app.session.flashbag.get('notice-MiUbicacion') %}
        <div data-alert="" class="alert-box success">
            {{ flashMessage }}
            <a href="" class="close">×</a>
        </div>

    {% endfor %}

    {{ form_widget(form) }}

    <div class="row">
        <div class="seven offset-by-five columns">
            <button type="button" onclick="submitForm('form-mi-ubicacion')" class="button radius"><i class="icon-save"></i> &nbsp;Guardar</button>
        </div>
    </div>
</form>